import Vue from 'vue'
export default {
  name: 'custom_page',
  state: {
    pageModel: {},
    pageData: {},
    loading: false
  },
  actions: {
    update() {}
  },
  mutations: {
    setModel(state, model) {
      Vue.set(state, 'pageModel', model)
    },
    setData(state, data) {
      Vue.set(state, 'pageData', data)
    },
    setLoading(state, v) {
      state.loading = v
    }
  }
}
